package EIGHT;
import java.awt.*;
import javax.swing.*;
public class ExGui2 {
	public static void main(String args[]) {
		JFrame frame = new JFrame();
		JButton b1 = new JButton("Press me");
		JButton b2 = new JButton("Press me");
		
		Container contentPane = frame.getContentPane();
		contentPane.setLayout(new FlowLayout());
		
		contentPane.add(b1);
		contentPane.add(b2);
		frame.pack();
		frame.setVisible(true);
	}
}
